using AiQiuQuan.Sport.Model.Enums;
using System.ComponentModel.DataAnnotations;

namespace AiQiuQuan.Sport.Model.Models
{
    /// <summary>
    /// 修改场馆会员卡套状态
    /// </summary>
    public class VenueMemberCardUpdateStatusDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 卡状态：1销售中、2停止销售
        /// </summary>
        [Required(ErrorMessage = "卡状态：1销售中、2停止销售必填")]
        [EnumDataType(typeof(MemberCardStatusEnum), ErrorMessage = "1销售中、2停止销售")]
        public MemberCardStatusEnum State { get; set; }
    }
}
